{if $req.ajax eq 1}
{include file="../templates/default/admin/$action.tpl"}
{else}
{include file="../templates/default/admin/admin_header.tpl"}
<div class="container center corner-top shadow-br m-t-10 m-b-10 bg-fff">
    <img src="{$templatePath}images/admin/admin_title.png" />
</div>
<div class="container m-b-10">
<div id="tk-admin-blockleft" class="span-4 shadow-br tk-admin-blocks bg-fff">
    <div id="tk-admin-menu" class="span-4">
		<div id="tk-admin-links" class="clear tk-admin-category p-a-5 tk-unsorted-main">
			{foreach $modules as $module}
			<div class="tk-unsorted typofix">
			<div class="tk-title link m-b-5" accesskey="{$module@key}">
				&rsaquo;&nbsp;{$module.pn}
			</div>
			<ul class="tk-admin-submenu hide" id="submenu-{$module@key}">
				{foreach $module as $links}
				{if is_array($links)}
				<li class="m-b-5">&nbsp;&nbsp;
					<span class="sprite-icons sprite-{$links@key} vtop"></span>&nbsp;
					<a href="{$config.docroot}admin/{$links.pn.link}" title="{$module.pn} - {$links.pn.title}" class="tk-trigger">
					&raquo;&nbsp;{$links.pn.title}</a>
				</li>
				{/if}
				{/foreach}
			</ul>
			</div>
			{/foreach}
		</div>
		{*<div id="tk-admin-autosearch" class="clear p-a-5">
			<label class="vmiddle" for="tk-admin-autosearch-interval">{$lang.autosearch}</label>&nbsp;
			<input id="tk-admin-autosearch-interval" value="" class="width-50 vmiddle" type="text" />&nbsp;
			<span id="tk-admin-autosearch-status" class="sprite-icons vmiddle darker"></span>
		</div>*}
		<div id="tk-admin-logout" class="center clear p-a-5">
			<a href="{$config.docroot}login/{$req.default_index}" class="button3d red">{$lang.logout}</a>
		</div>		
		<div id="tk-admin-status-div" class="clear p-a-5 m-t-10 m-b-10">
			<span id="tk-admin-status-title" class="sprite-icons sprite-idle vmiddle">&nbsp;</span>&nbsp;<span id="tk-admin-status" class="vmiddle">Uygun</span>
		</div>
		</div>

    </div>
<div id="tk-admin-blockright" class="span-20 last shadow-br tk-admin-blocks bg-fff">
    <ul id="tk-admin-panelicons">
    {foreach $modules as $module}
    <li class="tk-unsorted">
    <a title="{$lang.$module@key.pn}" rel="{$module@key}" href="{$config.docroot}admin/{$req.language}-admin_{$module@key}{$config.seoext}?act=manitem" 
	class="tk-menu-trigger display-cell vmiddle darker">
	<span class="admin-icons sprite-{$module@key}"></span>
    <br /><br />{$lang.$module@key.pn|default:"Bilinmeyen Menü"}</a>
    </li>
    {/foreach}
    </ul>
	<ul id="tk-admin-content">
	</ul>
</div>
</div><!-- container -->
<div id="toTop">
<a href="#" class="button3d blue">^ {$lang.scroll_to_top}</a>
</div>
{include file="../templates/default/admin/admin_footer.tpl"}
{/if}